This is a mod that provides various loot tables. If you need loot tables for your mod, for example for structures, you can use this mod for that. Simply add the loottables to your chests, barrels, or other storage items using the /data command. Loot tables for mob drops are also planned and can be used. Tom's Loot is also compatible with other mods such as the Create mod. All information on where you can find the loot tables with items from vanilla, create, or other mods can be found here in the table of contents.
The folder structure consists of the mod name, then e.g. storage, and then the various categories; here's an example:
- data/toms_loot/loot_table/vanilla/storage/trash/example_loot_table
- data/toms_loot/loot_table/vanilla/storage/food/example_loot_table
- data/toms_loot/loot_table/create/storage/cogwheels/cogwheel_and_shafts_example

If you have an add-on for mods like create, it might also be supported by Tom's Loot mod. To check, simply go to the add-ons folder in the create folder and you'll find the same structure there; here's an example:
- data/toms_loot/loot_table/create/addons/create_confectionery/storage/.....

This way you can always find the loot tables in the various categories and for the mods from which you need the items. Don't forget, however, to specify the mod `create` and, if applicable, the add-on and Tom's Loot as prerequisites in your `structuresmod` for `create` (including vanilla or other mods with `create`, for example), so that the items in the loot tables also exist in the game.
I would be happy if you would use Tom's Loot as a loot_table library for your mod. New loot tables and compatible mods will be added in updates :) Thank you for your support.

Tom
GuSchu Gaming

- vanilla
  - trash:
    - dilapidated_pantry.json ---> a storage box that hadn't been touched for years, rotten food like poisonous potato, rotten flesh cheese, and an old mushroom soup that makes you nauseous.

    - mistinhalt.json ---> just rubbish
      - rarest item      ---> creeper banner pattern
      - most useful item ---> gunpowder

    - old_tools_iron.json ---> Includes nearly broken iron tools with a low probability of enchantments:
      - iron pickaxe ---> unbreaking 1 / fortune 1
      - iron  shovel ---> unbreaking 1
      - iron     axe ---> unbreaking 1 / efficiency 1 or 2
      - iron     hoe ---> unbreaking 1 / fortune 1

    - treasure_in_trash.json ---> rotten flesh and coarse dirt, but with a small probability a diamond sword with an enchantment:
      - diamond sword ---> sharpness

    - useless.json ---> It contains useless junk; the best things you can find are old, broken leather shoes, perfect for abandoned buildings.